import request from '@/utils/request'

// 获取机构角色树
export function getSelectRoleOrgApi(data) {
    return request({
      url: '/system/role/selectRoleOrg',
      method: 'post',
      data: data
    })
}

// 获取右侧菜单树
export function getTeacherTreeApi(data) {
    return request({
        url: '/wx/common/menu/getTeacherTree',
        method: 'post',
        data: data
    })
}

// 获取角色菜单树
export function getTeacherMenuInfoApi(data) {
    return request({
        url: '/wx/common/menu/teacherMenuInfo',
        method: 'post',
        data: data
    })
}

// 保存修改菜单树
export function editRoleMenuApi(data) {
    return request({
        url: '/wx/common/menu/editRoleMenu',
        method: 'post',
        data: data
    })
}
  